home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 1 / Macwelt DVD 1.toast / Web-Publishing / HTML-Editoren / Alpha ƒ / Help / Quick Start < prev    next >
Encoding:
Text File  |  2000-10-30  |  12.8 KB  |  332 lines

  1.  
  2. Alpha Quick Start
  3.  
  4.                                                version: 7.4b10
  5.                                                created: 01/03/96 {11:49:15 pm} 
  6.                                            last update: 09/18/2000 {14:27:12 PM}
  7.  
  8.           Installation 
  9.  
  10.  
  11. If you are reading this document, installation must be finished.  Alpha
  12. relies on the files in the Tcl and Help subfolders being in the same
  13. folder as Alpha itself.  These two folders must not be renamed.  Alpha
  14. creates a subfolder within the system preferences folder, but you
  15. should never have to worry about this.
  16.  
  17.  
  18.           Creating and Saving Documents 
  19.  
  20.  
  21. Documents can be created in Alpha via the "File --> New…" menu item under
  22. the file menu.  Existing files can be opened via the "File --> Open…" item,
  23. by double-clicking on Alpha documents in the Finder, or via the FileSets
  24. menu.
  25.  
  26. Once a document has been opened, you can modify it by typing in it, 
  27. cutting and pasting, or using drag-and-drop editing.
  28.  
  29. Files can then be saved and/or closed, also via the File menu.
  30.  
  31.  
  32.           Editing Documents
  33.  
  34.  
  35. At its most basic, editing in Alpha is very similar to editing within any
  36. other mac environment.  The current insertion point is shown by the
  37. blinking insertion point (or the block cursor, depending on your settings). 
  38. The cursor keys can be used to move the insertion point, as in any other
  39. application.
  40.  
  41. However, Alpha can also move via larger increments of text:
  42.  
  43.     option-left        - one word left
  44.     option-right    - one word right
  45.     command-left    - beginning of line
  46.     command-right    - end of line
  47.  
  48. Holding down the shift key tells alpha to extend the selection the
  49. designated distance.
  50.  
  51. [Tip: you can also use most of the standard Emacs editing commands if you
  52. activate the Emacs feature.  Then an "Emacs" submenu is inserted in the
  53. "Edit" menu.]
  54.  
  55. Text can be cut, copied, or pasted by selecting a region of text and using
  56. the items in the "Edit" menu.
  57.  
  58. Additionally, Alpha supports all the latest Drag and Drop technology.  Any
  59. selected piece of text can be dragged to another part of the same window,
  60. or to another application merely by dragging it.  To try this out, i)
  61. select a piece of text (double-click on a word), ii) move the cursor over
  62. the selected text (the cursor should now be an open hand), and iii) mouse
  63. down on the selected text and drag it elsewhere.  An outline of the
  64. selected text will accompany the cursor until you release it, and a caret
  65. will mark the current insertion point while you move the cursor.  Note that
  66. you must have either system 7.5 or the Drag and Drop init installed for
  67. this to work.
  68.  
  69.  
  70.           Modes, Menus, and Features
  71.  
  72.  
  73.                Modes
  74.  
  75. Alpha is multi-modal, which means it switches between different modes
  76. depending on which type of document you are editing.  Everybody who has
  77. used Emacs knows about this concept.  The idea with different modes is to
  78. change Alpha's behavior depending on which kind of text you're editing. 
  79. For example if you're programming in C++ or editing a LaTeX document you
  80. need different features.  Alpha determines which mode to switch to from the
  81. suffix of the file name.  Files ending by '.tex' makes Alpha switch to
  82. LaTeX mode, file ending by '.html' makes Alpha switch to HTML mode etc.
  83.  
  84.                Menus and Features
  85.  
  86. You can customize Alpha by activating various menus and features.  This is
  87. done by using the menu items "Config --> Preferences --> Menus" and / or
  88. "Config --> Preferences --> Features".  A "menu" is a stand-alone menu
  89. which is attached to the menu bar, while a "feature"is some functionality
  90. which doesn't have a menu connected to it.  However, some features add a
  91. submenu or menu items to a submenu.
  92.  
  93. Many modes also have their own menus.  You can choose which menus and
  94. features to use for a particular mode by using the menus item found under
  95. "Config --> Mode Prefs".  Note that it's normally little need to change
  96. which menu(s) to use in a particular mode.  The mode menus are normally not
  97. very useful in other modes or as global menus.
  98.  
  99.  
  100.           Searching
  101.  
  102.  
  103. Alpha allows searching for character strings in either the current window,
  104. or within multiple files, whether or not they are currently open.
  105.  
  106. Searching is usually accomplished via the "Search" menu.  "Find" brings up
  107. a dialog box that allows a search string, a string optionally used to
  108. replace found text, and several options.  These options are:
  109.  
  110.     • 'Forward' - Search backwards or forwards.
  111.     • 'Ignore Case' - The search routine can ignore the case of both the 
  112.       search string and the text to which it matches.
  113.     • 'Word Match' - The search only matches complete words.
  114.     • 'Grep' - Regular expression matching. Regular expressions allow 
  115.       searching for specific character patterns, rather than just a 
  116.       single character sequence. See here for more information.
  117.     • 'Mult Files' - see below.
  118.     • 'Patterns' - This is a popup menu that allows search strings to be 
  119.       saved and later re-used.
  120.  
  121. Once a string has been found, the "Search" menu allows the text to be
  122. replaced with the 'Replace With' string from the "Find" dialog.
  123.  
  124. [Tip: As with all dialogs in Alpha, buttons may be selected from the
  125. keyboard by pressing command-c, where 'c' is the first character of the
  126. button's text.]
  127.  
  128. [Tip: Pull down the "Search" menu and press the option key.  There are
  129. several new items.  "Search Start" returns the insertion point to where the
  130. last search started.  "Replace All" uses the search and replace strings to
  131. make substitutions through the rest of the file.]
  132.  
  133.  
  134.                Quick Find
  135.  
  136.  
  137. Alpha allows the Find dialog to be bypassed by "Quick Find" and "Reverse
  138. Quick Find" from the "Search" menu.  The function search for character
  139. strings as you type.  Use Escape to terminate a search.  Quick finds always
  140. ignore case, but do not match words.
  141.  
  142. There is also a Quick Find Regexp which lets you use regular expressions. 
  143. Look in the "Search" menu while holding down the option key.
  144.  
  145.  
  146.                Multi-File Searches
  147.  
  148.  
  149. Multi-file searches are accomplished by using file-sets, or lists of files. 
  150. File-sets are usually a list of files in a single folder.  They can be
  151. created either through the file-set menu (under the File menu for
  152. AlphaLite, a stand-alone menu for the full version of Alpha), or through
  153. the Find dialog (select multiple files and then use the popup menu to
  154. select "New Fileset").
  155.  
  156. To create a fileset, you supply a name, the folder that contains the files,
  157. and a pattern to select which files from the folder are to be contained in
  158. the fileset.  To select all, the pattern should be `*'.  To select just the
  159. files that end in `.tex', the pattern would be `*.tex'.  To select all
  160. files that end in either `.c' or `.h', the pattern would be `*.{c,h}'.
  161.  
  162. Once you have a fileset, you search through the entire thing just by
  163. selecting "Mult Files" and the fileset from the popup menu.  The `Batch'
  164. option allows all matches to be listed in a new window (not available in
  165. AlphaLite).
  166.  
  167. Read more about filesets in the "Filesets Help" file.
  168.  
  169.  
  170.           Marks
  171.  
  172.  
  173. Alpha allows manipulation of marks through a popup menu over the 'M' icon
  174. above the vertical scrollbar.  Marks are pointers to particular positions
  175. in the file.  This file, for instance, has marks pointing to each of the
  176. major sections of the document (use the Marks menu to go to a different
  177. section, and then to come back to the 'Marks' section).
  178.  
  179. The marks popup menu allows marks to be automatically established for a
  180. file.  How the file is marked depends on which mode you are using.  For
  181. example, 'Mark File' will automatically create a mark for each section and
  182. subsection of a latex document.
  183.  
  184.         
  185.           The Window
  186.  
  187.  
  188. Alpha's windows have several non-standard features. They are the following:
  189.  
  190. • Command-clicking on the title-bar anywhere but right on the title pulls 
  191.   down a menu showing the window's current mark, and allows marks to be 
  192.   automatically created for all supported modes (C, LaTeX, etc.). A mark is 
  193.   merely a placeholder for a specific position in a file, much like a 
  194.   bookmark.
  195.  
  196. • Clicking on the title pulls down a popup showing the complete 
  197.   pathname of the window's file.
  198.  
  199. • Option-clicking on the titlebar brings down a menu. The content of this 
  200.   menu is mode dependent, but is the current mode doesn't support this 
  201.   feature, the menu will contain a list of all files in the open window's 
  202.   folder. Selecting a file in the menu will open it.
  203.  
  204. • Above the vertical scrollbar is a black "split-pane" bar. Double-clicking 
  205.   or dragging the split-pane bar splits the frontmost window into two 
  206.   separately scrollable panes. Either pane can be edited, any changes 
  207.   appear in both panes if they show the same text. Move from one pane to 
  208.   the other by typing control-x, then 'o'. Go back to a single pane by 
  209.   either double-clicking again or dragging the bar back to the top of the 
  210.   window.
  211.  
  212. • Above the split-pane bar (the 'M' icon) is another way to access the current 
  213.   marks for the front window.
  214.  
  215. • Above the Marks menu is another icon '{}'. This is the Funcs menu. The 
  216.   content of this menu is mode dependent but will typically contain a list 
  217.   of all functions in the file. This menu is built when you press the icon 
  218.   and is therefore always up-to-date.
  219.  
  220. • Above the Funcs menu is either nothing, a red disk icon (showing that the 
  221.   window is dirty and needs to be saved; clicking the icon saves the window), 
  222.   or a lock icon (meaning that the file is read-only; command-clicking 
  223.   toggles the lock icon).
  224.  
  225. • The status window at the bottom of the primary display has three popup 
  226.   menus: 
  227.   
  228.   • "Wrap" menu. Shows how if the lines in the current window are wrapped 
  229.     automatically and if the wrapping is soft or not.
  230.   
  231.   • "File Attributes" menu. Shows various attributes of the current 
  232.     window that can be changed. "MPW", "Think" and "None" refer to how much 
  233.     state is saved in files' resource forks, Usually, you should leave it 
  234.     at "MPW", which tells Alpha to save the current insertion and window 
  235.     positions.  "Mac", "Unix", or "IBM" refers to the way carriage returns 
  236.     are formatted.
  237.  
  238.   • "Mode" menu, which shows the current mode and allows it to be changed.  
  239.     Bindings, keyword colorings, and many other features differ from mode 
  240.     to mode (AlphaLite has much fewer modes than the full version of Alpha).
  241.  
  242.   • Line display. Displays current line and column. Clicking opens a dialog 
  243.     that allows a specific line to be found.
  244.  
  245.     
  246.           Dynamic Menus
  247.  
  248.  
  249. Alpha uses dynamic menus. This means that some menu items are changed if 
  250. you hold down any of the modifier keys. Usually the option key is the one 
  251. which reveals the hidden menu items, but there are also a few items which are 
  252. revealed by holding down the control or shift keys. Try this out by pulling 
  253. down the File menu and holding down one of the option, control, or shift keys.
  254.  
  255.  
  256.           Text Manipulations
  257.  
  258.  
  259. Automatic Wrapping
  260.  
  261. Wrapping refers to Alpha automatically inserting line breaks as you 
  262. type. The 'Config->Mode Prefs' (the 'Mode' menu is under the Windows menu 
  263. for AlphaLite) lets you modify several mode-specific flags. One of 
  264. these is 'wordWrap'.
  265.  
  266. When 'wordWrap' is checked, Alpha automatically insert a carriage 
  267. return when a line becomes too long.  
  268.  
  269. If 'Soft Wrap' is on as well (toggle from the windows menu), Alpha 
  270. will "re-flow" the entire paragraph whenever the current line gets 
  271. too long or too short.
  272.  
  273.  
  274. Other Text Manipulations
  275.  
  276. From the 'Text' menu:
  277.  
  278. • 'Fill Paragraph' - reflows the current paragraph so that lines are 
  279.   approximately the same length.
  280.  
  281. • 'Fill region' - does the same to text that is currently selected.
  282.  
  283. • 'Upcase Region' - converts all selected   characters to upper case.
  284.  
  285. • 'Downcase Region' (hold down option key) - converts all selected 
  286.    characters to lower case.
  287.  
  288. • 'Text to Alpha' - This menu item prompts the user to select a folder, 
  289.    and then recursively changes the creator of all text files in that 
  290.    folder to Alpha. This is useful if you receive text files created by 
  291.    another editor (Note: this item is under "File->File Utils" in the full 
  292.    version of Alpha).
  293.  
  294.  
  295.           Credits and Registration
  296.  
  297.  
  298. Alpha and AlphaLite are both shareware, $30. One registration pays for 
  299. both versions, and all future upgrades of either. You may pay either by 
  300. sending a check to:
  301.  
  302.     Peter Keleher
  303.     8006 Barron Street
  304.     Takoma Park, MD 20912
  305.     
  306. or by using the {{register}} application that comes with the installation. 
  307.  
  308. Alpha's home page is <http://alpha.olm.net>
  309.  
  310. PLEASE use the Alpha-D mailing list to discuss problems, suggestions etc
  311. with this release.  To subscribe, email <LISTSERV@LISTSERV.SYR.EDU> and, in
  312. the text of your message (not the subject line), write:
  313.  
  314.     SUBSCRIBE ALPHA-D
  315.     
  316. There are a number of known bugs which will hopefully be corrected in a
  317. future release.  PLEASE read the "Bug Reports and Debugging" file for a
  318. list of known bugs, and for how to give an informative bug report, without
  319. which it is unlikely any bug you found can be fixed.
  320.  
  321.  
  322. Author: Peter Keleher
  323.  
  324. Quick Start file updated by Craig Barton Upright
  325.  
  326. E-mail: <cupright@princeton.edu>
  327.   mail: Princeton University,  Department of Sociology
  328.         Princeton, New Jersey  08544
  329.    www: <http://www.princeton.edu/~cupright/>
  330.  
  331.  
  332.